package com.letoken.platform.repo.admin.res.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.enums.LetokenTokenTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "查询充值提现-提现审核请求返回对象", description = "查询充值提现-提现审核请求返回对象")
public class QueryAppWithdrawAuditListRes {

    @ApiModelProperty(name = "id", value = "编号")
    private Long id;

    @ApiModelProperty(name = "userId", value = "用户id")
    private String userId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "申请时间")
    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "approvedDate", value = "审核时间")
    private LocalDateTime approvedDate;

    @ApiModelProperty(name = "tokenCurrency", value = "资产")
    private LetokenTokenTypeEnum tokenCurrency;

    @ApiModelProperty(name = "amount", value = "提现数量")
    private BigDecimal amount;

    @ApiModelProperty(name = "source", value = "类型")
    private String source;

    @ApiModelProperty(name = "address", value = "接收地址/ID")
    private String address;

    @ApiModelProperty(name = "sn", value = "流水号")
    private String sn;

    @ApiModelProperty(name = "approvedState", value = "审批状态(0待审批 1通过 2拒绝)")
    private String approvedState;

    @ApiModelProperty(name = "approvedBy", value = "审核人账号")
    private String approvedBy;


}
